package priv.yiyuan.example.design.wrapper;

/**
 * 图片元素
 * <p>
 * 装饰器模式-具体组件
 *
 * @author YiYuan
 * @data 2025/9/3
 * @apoNote
 */
public class ImageElement implements ResumeElement {

    private String imageUrl;

    public ImageElement(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    @Override
    public String render() {
        return "[图片: " + imageUrl + "]";
    }
}
